package app.sys.data.entity;

import com.alibaba.excel.util.DateUtils;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @author fyy
 * @date 2023/4/28 12:14
 * @description:
 */
@Data
@Accessors(chain = true)
public class SysLog implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId
    private Long id;
    @TableField(condition = SqlCondition.LIKE, updateStrategy = FieldStrategy.IGNORED)
    private String logType;
    @TableField(condition = SqlCondition.LIKE, updateStrategy = FieldStrategy.IGNORED)
    private String operateType;
    @TableField(condition = SqlCondition.LIKE, updateStrategy = FieldStrategy.IGNORED)
    private String logContent;
    private String createUser;
    @JsonFormat(pattern = DateUtils.DATE_FORMAT_19, timezone = "GMT+8")
    private Date createTime;
    private Integer delFlag;
}
